7.8
HIGH CVSS 3.1
CVE-2026-41054
Missing exit out of permission check in haveged could lead to root exploit
Description

In `src/havegecmd.c`, the `socket_handler` function performs a credential check on the abstract UNIX socket (`\0/sys/entropy/haveged`). However, while it detects if the connecting user is not root (`cred.uid != 0`) and prepares a negative acknowledgement (`ASCII_NAK`), it **fails to stop execution**. The code proceeds to the `switch` statement, allowing any local unprivileged user to execute privileged commands such as `MAGIC_CHROOT`.

INFO

Published Date :

May 20, 2026, 10:16 a.m.

Last Modified :

May 20, 2026, 10:16 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-41054 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 404e59f5-483d-4b8a-8e7a-e67604dd8afb
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH MITRE-CVE
Solution
Ensure the application properly terminates execution after an authorization check fails.
  • Validate that the socket handler exits after a failed credential check.
  • Confirm no further processing occurs after a negative acknowledgement.
  • Apply vendor patches to fix the authorization bypass vulnerability.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-41054 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-41054 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-41054 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-41054 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    May. 20, 2026

    Action Type Old Value New Value
    Added Description In `src/havegecmd.c`, the `socket_handler` function performs a credential check on the abstract UNIX socket (`\0/sys/entropy/haveged`). However, while it detects if the connecting user is not root (`cred.uid != 0`) and prepares a negative acknowledgement (`ASCII_NAK`), it **fails to stop execution**. The code proceeds to the `switch` statement, allowing any local unprivileged user to execute privileged commands such as `MAGIC_CHROOT`.
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-305
    Added Reference https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-41054
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 20, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/19/3
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/19/4
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/19/5
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/20/1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.